<!DOCTYPE html>
<html lang="en-us">
  <head>
    <meta charset="UTF-8">
    <title>Topalert by roycms</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
    <link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
  </head>
  <body>
    <section class="page-header">
      <h1 class="project-name">Topalert</h1>
      <h2 class="project-tagline">TopAlert Is the effect of a tip at the top of the page code, can be easily integrated into your project.</h2>
      <a href="https://github.com/roycms/TopAlert" class="btn">View on GitHub</a>
      <a href="https://github.com/roycms/TopAlert/zipball/master" class="btn">Download .zip</a>
      <a href="https://github.com/roycms/TopAlert/tarball/master" class="btn">Download .tar.gz</a>
    </section>

    <section class="main-content">
      <p><img src="https://roycms.github.io/TopAlert/TopAlert/logo.png" alt="Logo"></p>

<h1>
<a id="-topalert" class="anchor" href="#-topalert" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a> TopAlert</h1>

<p>TopAlert is a tip at the top of the pop-up IOS UI controls, can be easily integrated into your project.</p>

<p><a href="https://github.com/roycms/RAlertView"><img src="https://img.shields.io/shippable/5444c5ecb904a4b21567b0ff.svg?maxAge=2592000?style=flat-square" alt="Shippable"></a>
<a href="http://cocoapods.org/?q=RAlertView"><img src="https://img.shields.io/badge/pod-0.0.1-red.svg" alt="CocoaPods"></a>
<a href="https://github.com/roycms/RAlertView/blob/master/LICENSE"><img src="https://img.shields.io/packagist/l/doctrine/orm.svg?maxAge=2592000?style=flat-square" alt="Packagist"></a>
<a href="mailto:roycms@qq.com"><img src="https://img.shields.io/badge/%20email%20-%20roycms%40qq.com%20-yellowgreen.svg" alt="email"></a></p>

<h2>
<a id="warning-content" class="anchor" href="#warning-content" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Warning content</h2>

<p><img src="https://roycms.github.io/TopAlert/TopAlert/TopAlert.gif" alt="预览"></p>

<h2>
<a id="installation" class="anchor" href="#installation" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Installation</h2>

<ul>
<li>Import the main header file：<code>#import "TopAlert.h"</code>
</li>
</ul>

<h2>
<a id="cocoapods" class="anchor" href="#cocoapods" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>cocoapods</h2>

<p><code>pod 'TopAlert'</code></p>

<h2>
<a id="ui-recommend-the-color" class="anchor" href="#ui-recommend-the-color" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>UI Recommend the color</h2>

<p><img src="https://roycms.github.io/TopAlert/TopAlert/FlatColors.png" alt="Logo"></p>

<h2>
<a id="use" class="anchor" href="#use" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Use</h2>

<div class="highlight highlight-source-objc"><pre>TopAlert *alert =[[TopAlert <span class="pl-c1">alloc</span>]initWithStyle:<span class="pl-c1">RGB</span>(<span class="pl-s"><span class="pl-pds">@"</span>#8e44ad<span class="pl-pds">"</span></span>)];
alert.headerTitle =<span class="pl-s"><span class="pl-pds">@"</span>Title<span class="pl-pds">"</span></span>;
alert.contentText =<span class="pl-s"><span class="pl-pds">@"</span>contentText<span class="pl-pds">"</span></span>;</pre></div>

<h2>
<a id="期待" class="anchor" href="#%E6%9C%9F%E5%BE%85" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>期待</h2>

<ul>
<li>如果在使用过程中遇到BUG，希望你能Issues我，谢谢（或者尝试下载最新的框架代码看看BUG修复没有）</li>
<li>如果在使用过程中发现功能不够用，希望你能Issues我，我非常想为这个框架增加更多好用的功能，谢谢</li>
<li>如果你想输出代码，请拼命Pull Requests我</li>
</ul>

      <footer class="site-footer">
        <span class="site-footer-owner"><a href="https://github.com/roycms/TopAlert">Topalert</a> is maintained by <a href="https://github.com/roycms">roycms</a>.</span>

        <span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
      </footer>

    </section>

  
  </body>
</html>
